home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 October: Mac OS SDK / Dev.CD Oct 00 SDK1.toast / Development Kits / Mac OS / Display Manager SDK / Sample Code / Display Changed CWPro4 / Headers / Global.h < prev    next >
Encoding:
Text File  |  1996-10-20  |  1.4 KB  |  39 lines  |  [TEXT/CWIE]

  1. /*************************************************************************************
  2. #
  3. #        Global.h
  4. #
  5. #        This file contains the global definitions
  6. #
  7. #        Author(s):     Michael Marinkovich
  8. #                    marink@apple.com
  9. #
  10. #        Modification History: 
  11. #
  12. #            10/12/95    MWM     Initial coding                     
  13. #
  14. #        Copyright © 1992-96 Apple Computer, Inc., All Rights Reserved
  15. #
  16. #
  17. #        You may incorporate this sample code into your applications without
  18. #        restriction, though the sample code has been provided "AS IS" and the
  19. #        responsibility for its operation is 100% yours.  However, what you are
  20. #        not permitted to do is to redistribute the source as "DSC Sample Code"
  21. #        after having made changes. If you're going to re-distribute the source,
  22. #        we require that you make it clear in the source that the code was
  23. #        descended from Apple Sample Code, but that you've made changes.
  24. #
  25. *************************************************************************************/
  26.  
  27.  
  28. AEEventHandlerUPP        gAEOpenAppUPP = nil;
  29. AEEventHandlerUPP        gAEQuitAppUPP = nil;
  30. AEEventHandlerUPP        gAEOpenDocUPP = nil;
  31. AEEventHandlerUPP        gAEPrintDocUPP = nil;
  32. Boolean                 gHasDMTwo;                        // is DM 2.0 available?
  33. Boolean                 gInBackground = false;            // are we in the background?
  34. Boolean                    gDone = false;                    // app is done flag        
  35. Boolean                    gHasDrag;                        // we have Drag Manager?
  36. Boolean                    gHasAbout;                        // do we have an about box showing?
  37. short                    gWindCount;                        // window counter for new windows
  38.  
  39.